package cn.monkey.family.server.domain.uc.user;

import cn.monkey.family.data.Result;
import cn.monkey.family.data.context.RequestContext;
import cn.monkey.family.data.uc.user.User;
import cn.monkey.family.data.uc.user.role.UserRoleBindRequest;
import cn.monkey.family.data.uc.user.role.UserRoleVo;

import java.util.EventListener;

public interface UserRoleBindEventListener extends EventListener {
    Result<UserRoleVo> onUserRoleBind(RequestContext requestContext,
                                      User user,
                                      UserRoleBindRequest userRoleBindRequest);
}
